﻿/*Cài đặt lại tag*/

* {
    margin: 0;
    padding: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

*:focus {
    outline: 0; /*chrome reset*/
}

body {
    line-height: 1; /*tăng khoảng cách dòng*/
    font-size: 14px;
}

ul, ol {
    list-style: none;
}

img {
    border: 0;
    vertical-align: middle;
}

a {
    color: rgba(130, 130, 255, 1);
    text-decoration: none;
}

    a:hover {
        text-decoration: underline;
        cursor: pointer;
    }

hr {
    background-color: #eee;
}

/*#region input*/
button,
input {
    /*margin: 6px 4px !important;*/
    padding: 10px 5px;
    color: black;
    background-color: white;
    border: 1px solid #9E9E9E;
}

    button:hover,
    input:hover {
        border: 1px solid #1976D2;
    }

    button:focus,
    input:focus{
        
    }

    input:disabled {
        color: #9E9E9E;
    }

    button, input[type="button"], input[type="input"], input[type="submit"] {
        font-weight: bold;
        color: white;
        background-color: #2196F3;
        border: 1px solid #1976D2;
        margin: 0px 5px 5px 0px;
        -moz-box-shadow: #eee 0px 2px 2px;
        -webkit-box-shadow: #eee 0px 2px 2px;
        box-shadow: #eee 0px 2px 2px;
    }
        
        button:disabled, input[type="button"]:disabled, input[type="input"]:disabled, input[type="submit"]:disabled {
        }

        button:hover, input[type="button"]:hover, input[type="input"]:hover, input[type="submit"]:hover {
            background-color: #64B5F6;
        }

        button:active, input[type="button"]:active, input[type="input"]:active, input[type="submit"]:active {
            background-color: #1976D2;
        }


    input[type="text"], input[type="password"] {
        font-weight: normal;
        width: 200px;
        background-color: rgba(255, 255, 255, 0.8);
        -moz-box-shadow: #eee 0px 2px 2px inset;
        -webkit-box-shadow: #eee 0px 2px 2px inset;
        box-shadow: #eee 0px 2px 2px inset;
    }

        input[type="text"]:disabled, input[type="password"]:disabled {
            color: #9E9E9E;
            background-color: #eee;
        }

        input[type="text"]:focus, input[type="password"]:focus {
            border: 1px solid #1976D2;
            -moz-box-shadow: #9E9E9E 0px 0px 2px, #9E9E9E 0px 2px 2px;
            -webkit-box-shadow: #9E9E9E 0px 0px 2px, #9E9E9E 0px 2px 2px;
            box-shadow: #9E9E9E 0px 0px 2px, #9E9E9E 0px 2px 2px;
        }

    input[type="checkbox"] {
    }

    input[type="checkbox"] ~ label {
        margin-left: 5px;
    }
/*#endregion*/

/*#region select dropdown*/
select {
    padding: 10px 5px;
    width: 200px;
    color: black;
    background-color: white;
    border: 1px solid #9E9E9E;
}

    select > option {
        padding: 10px 5px;
    }
/*#endregion*/

/*#region H*/
h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 20px;
    margin-bottom: 10px;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    font-family: inherit;
    font-weight: 500;
    line-height: 1.1;
    color: inherit;
}

h1, .h1 {
    font-size: 36px;
    margin: .67em 0;
}

h2, .h2 {
    font-size: 30px;
}

h3, .h3 {
    font-size: 24px;
}
/*#endregion*/

/*#region table*/
table {
    border-collapse: collapse;
    border: 1px solid #eee;
}

    table tr:hover {
        background: #f4f4f4;
    }

    table tr:nth-child(2n) {
        background: #F3E5F5;
    }

    table tr:hover td {
        color: black;
    }

    table th, table td {
        color: #9e9e9e;
        border: 1px solid #eee;
        padding: 10px 15px;
        border-collapse: collapse;
    }

    table th {
        background: #9C27B0;
        color: #fff;
        text-transform: capitalize;
        font-size: 12px;
    }

        table th.last {
            border-right: none;
        }
/*#endregion*/
